package com.zhupanlin.service;

import com.zhupanlin.dao.MenuDao;
import com.zhupanlin.entity.Menu;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 描述信息：
 *
 * @author zhupanlin
 * @version 1.0
 * @date 2024/12/23 13:36
 */
@Service
@RequiredArgsConstructor
public class MenuService {

    private final MenuDao menuDao;

    public List<Menu> getAllMenu() {
        return menuDao.getAllMenu();
    }

}
